import axios from 'axios'
import { getToken } from './token'

const token = getToken()
const instance = axios.create({
  headers: { 'x-authorization-access-token': token }
})

export default instance